package open.tech.dawn.rest.module.system.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import open.tech.dawn.jdbc.SuperServiceImpl;
import open.tech.dawn.rest.module.system.mapper.SysLoginLogMapper;
import open.tech.dawn.rest.module.system.model.SysLoginLog;
import open.tech.dawn.rest.module.system.service.ISysLoginLogService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 登录记录 服务实现类
 * </p>
 *
 * @author joss
 * @since 2019-11-07
 */
@Service
public class SysLoginLogServiceImpl extends SuperServiceImpl<SysLoginLogMapper, SysLoginLog> implements ISysLoginLogService {


    @Override
    public List<SysLoginLog> getLoginLogs(Page<SysLoginLog> page, String beginTime, String endTime, String logName) {
        return this.baseMapper.getLoginLogs(page, beginTime, endTime, logName);
    }
}
